<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title><%= title %></title>
    <link href="/stylesheets/info.css" type="text/css" rel="stylesheet" />
</head>
<body>
<div class="text-center">
    <!--提示信息的区域-->
    <% if(success){ %>
    <%= success %>
    <% }else{ %>
    <%= error %>
    <% } %>
</div>
<div id="wrap">
    <h1>信封心情</h1>
    <div id='form_wrap'>
        <form method="post" action="/xinfeng">
            <p class="worldP"><a href="/main" class="world">你好，世界</a></p>
            <label for="email">你想对他/她说的话 : </label>
            <textarea  name="message" value="Your Message" id="message" ></textarea>
            <p>留下你的一缕清香...</p>
            <label for="name">名字: </label>
            <input type="text" name="name" value="<%= user.name %>" id="name" />
            <label for="email">Email: </label>
            <input type="text" name="email" value="<%= user.email %>" id="email" />
            <input type="submit" name ="submit" value="Now, 谢谢" />
        </form>
    </div>
</div>

</body>
</html>
